[IA64] Cleanup to irq.c
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 11 Apr 2006 19:55:36 +0000 (13:55 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 11 Apr 2006 19:55:36 +0000 (13:55 -0600)
commitbf9a07ed100b0a0db3310915ee77c57ebc0d6c99
treef09763525f705d8168c96b9b50bdc3db80659356
parent7b6dc16798d3f4f74742e8dacfffe9159442da14
[IA64] Cleanup to irq.c

This patch is a big cleanup to irq.c, with only real
necessary interfaces kept now. The irq subsystem of
xen is very simple since most external devices are
controlled by dom0. Also especially there's no need
to keep CONFIG_XEN everywhere, since this file is
already out of sync of linux version for a long time.
Actually xen defines irq related structures differently
and it's worthy of creating a xen specific version here.

Another change of this patch is to remove ugly check
upon timer/ipi within irq handler. Instead now we'll
check IRQ_GUEST flag of irq_desc to decide whether
to deliver irq to guest. Now all vectors un-registered
are set with IRQ_GUEST enabled, which is identical to
current assumption. Later this flag should be set only
per guest's request. Then Xen_do_irq is not reuqired
as the result of this change.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/ia64/linux-xen/irq_ia64.c
xen/arch/ia64/xen/domain.c
xen/arch/ia64/xen/irq.c
xen/arch/ia64/xen/xenirq.c